package com.ruicar.afs.cloud.seats.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruicar.afs.cloud.seats.condition.RegularValueCondition;
import com.ruicar.afs.cloud.seats.entity.RegularValue;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author tiankai
 * @Describe 规则数值
 * Created on 2020-06-08
 */
public interface RegularValueMapper extends BaseMapper<RegularValue> {

    /**
     * @Describe 规则信息查询
     * Created on 2020-05-15
     * @author tiankai
     */
    IPage<List<RegularValueCondition>> getValueInfo(Page page, @Param("query") RegularValueCondition condition);

    /**
     * @Describe 置顶规则信息查询
     * Created on 2020-05-15
     * @author tiankai
     */
    IPage<List<RegularValueCondition>> getAfsRuleInfo(Page page, @Param("query") RegularValueCondition condition);
}
